package com.ncloud.resman.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ncloud.resman.entity.ExportIpAddress;
import com.ncloud.resman.entity.ImportIpAddress;
import com.ncloud.resman.mapper.NetworkExcelMapper;
import com.ncloud.resman.service.NetworkExcelServer;

/**
 * user:sundelong  date:2017年8月30日
 */
@Service
public class NetworkExcelServiceImpl implements NetworkExcelServer {
	@Autowired
	private NetworkExcelMapper mapper;
	@Override
	public List<ExportIpAddress> getIpAddressList(String netType, String ipSegment, String state, String ip) {
		return mapper.getIpAddressList(netType, ipSegment, state, ip);
	}
	@Override
	public int exportIpAddress(ImportIpAddress importIpAddress) {
		return mapper.exportIpAddress(importIpAddress);
	}

}
